package com.cqupt.scanning.system.admin.service;

import com.cqupt.scanning.system.admin.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqupt.scanning.system.utils.result.R;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 宋宝梁
 * @since 2021-07-06
 */
public interface DepartmentService extends IService<Department> {

    R insert(Department department);


    R update(Map<String,Object> dataMap);

    R delById(Integer id);


}
